
public class Test {
    private static String name;

    public static void main(String[] args) {
        Dog dog = new Dog();
        if (name == null) {
            System.out.println("123");
        }
        run();
    }

    public static void run() {
        System.out.println("跑起来");
    }
}

class Dog{
    private String name;
    private Boolean sex;
}